<script type="text/javascript" src="${base}/scripts/tool/pinyin.js"></script>


<form id="form_sksh" action="${base}/sfgl/sksh/sksh" method="post">
    <input name="sksh.id" type="hidden" value="${(sksh.id)!''}"/>
    <input name="sksh.zt" type="hidden" value="${(sksh.zt)!''}"/>
    <table style="width:100%" class="tb tab-t">
        <col width="90px;"/><col width=""/><col width="90px;"/><col width=""/>
        <tr>
            <th>单&nbsp;据&nbsp;&nbsp;号：</th>
            <td >
                <input id="sksh_bm" name="sksh.bm" type="hidden" class="input-text readonly"
                       readonly="readonly" value="${(sksh.bm)!}"/>
                <span>${(sksh.bm)!}</span>
            </td>
        </tr>
        <tr>
            <th style="color:#f45212;"> 票据类型：</th>
            <td>
                <input idVal="sksh_pjlx_id" name="sksh.pjlx.id" class="input-text" type="text"
                       required="true" value="${(sksh.pjlx.id)!''}"/>
            </td>
            <th style="color:#f45212;">收款类型：</th>
            <td>
                <label><input name="sksh.sfklx" type="radio" value="3" checked="checked"
                              style="vertical-align: middle;"/>&nbsp;销&nbsp;售&nbsp;收&nbsp;款&nbsp;</label>
                <label><input name="sksh.sfklx" type="radio" value="4"
                              <#if (sksh.sfklx)?? && sksh.sfklx==4>checked</#if> style="vertical-align: middle;"/>&nbsp;供&nbsp;应&nbsp;退&nbsp;款 </label>
            </td>
        </tr>
        <tr>
            <th style="color:#f45212;">
                <span id="sksh_gys" style="display: none;">供&nbsp;应&nbsp;&nbsp;商：</span>
                <span id="sksh_kh"  style="display: block;">客户名称：</span>
            </th>
            <td >
                <#--<input id="sksh_gldw_id" name="sksh.gldw.id" type="text" value="${(sksh.gldw.id)!''}" -->
                       <#--class="easyui-combobox input-text"-->
                       <#--required="true" data-options="valueField:'id',textField:'jc',panelHeight:'200'"/>-->
                <input type="hidden" id="sksh_id" value="${(sksh.gldw.id)!}"/>
                <input type="hidden" id="sksh_jc" value="${(sksh.gldw.qc)!}"/>
                <input id="sksh_gldw_id" name="sksh.gldw.id"   type="text" value="${(sksh.gldw.id)!''}" class="input-text"/>

            </td>
           <#-- <th style="color:#f45212;"> 款项用途：</th>
            <td>
                <input idVal="sksh_kxyt_id" name="sksh.kxyt.id" class="input-text" type="text"
                       required="true" value="${(sksh.kxyt.id)!'132'}"/>
            </td>-->
        </tr>
        <tr>
            <th style="color:#f45212;">款项类型：</th>
                <td>
                <span id ="sklx3" style="display: inline;">
                <label><input name="sksh.kxlx" type="radio" value="3" checked
                              style="vertical-align: middle;" />预&nbsp; &nbsp;收&nbsp; &nbsp;款</label>
                </span>
                <span id ="sklx4" style="display: inline;">
                    <label><input name="sksh.kxlx" type="radio" value="4"
                              <#if (sksh.kxlx)?? && sksh.kxlx==4>checked</#if> style="vertical-align: middle;"/>应&nbsp; &nbsp;收&nbsp; &nbsp;款 </label>
                </span>
                <span id ="sklx1" style="display: none;" >
                    <label><input name="sksh.kxlx" type="radio" value="1" checked
                                  style="vertical-align: middle;" />预&nbsp; &nbsp;付&nbsp; &nbsp;款</label>
                <span>
                <span id ="sklx2" style="display: none;" >
                    <label><input name="sksh.kxlx" type="radio" value="2"
                                  <#if (sksh.kxlx)?? && sksh.kxlx==2>checked</#if> style="vertical-align: middle;"/>应&nbsp; &nbsp;付&nbsp; &nbsp;款 </label>
                 <span>
                </td>
                <th style="color:#f45212;">收款日期：</th>
                <td>
                    <input name="sksh.sfkrq" type="text"class="easyui-datebox input-text"
                           required="true"value="${(sksh.sfkrq?date)!''}"/>
                </td>
        </tr>
        <#--<tr>-->
            <#--&lt;#&ndash;<th style="color:#f45212;"> 回&nbsp;款&nbsp;类&nbsp;型：</th>&ndash;&gt;-->
            <#--&lt;#&ndash;<td>&ndash;&gt;-->
                <#--&lt;#&ndash;<input idVal="sksh_hklx_id" name="sksh.hklx.id" class="input-text" type="text"&ndash;&gt;-->
                       <#--&lt;#&ndash;required="true" value="${(sksh.hklx.id)!''}"/>&ndash;&gt;-->
            <#--&lt;#&ndash;</td>&ndash;&gt;-->

        <#--</tr>-->
        <tr>
            <th style="color:#f45212;">收款金额：</th>
            <td>
                <input id="sksh_sfje" name="sfje" type="text"  style="width:128px;" autocomplete="off"
                       class="easyui-numberbox input-text"
                       data-options="precision:4,min:0"
                       required="true"
                       value="${(sksh.sfje?string("0.00"))!''}"/>（元）
            </td>
            <#--<th>合&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;同：</th>-->
            <#--<td>-->
                <#--<input id="sksh_ht_id" name="sksh.ht.id" type="text" value="${(sksh.ht.id)!}"-->
                       <#--class="input-text"/>-->
            <#--</td>-->
            <th>申报公司：</th>
            <td >
                <#--<input id="sksh_sbgs_id" name="sksh.sbgs.id" type="text" class="input-text"-->
                       <#--value="<#if sksh??>${(sksh.sbgs.id)!}<#else>${(skzggsId)!}</#if>"/>-->
                    <input id="sksh_sbgs_id"  type="hidden" name="sksh.sbgs.id" class=" input-text" value="${(sksh.sbgs.id)!}"
                            >
                    <input type="text"  class=" input-text" value="${(sksh.sbgs.jc)!} " readonly="readonly"
                            >
            </td>
        </tr>
        <tr>
            <th>申报部门：</th>
            <td>
                <#--<input type="hidden" id="sksh_sbbm"-->
                       <#--value="<#if sksh??>${(sksh.sbbm.id)!}<#elseif skgsId!=skzggsId>${(skgsId)!}</#if>"/>-->
                <#--<input id="sksh_sbbm_id" name="sksh.sbbm.id" type="text" class="easyui-combobox input-text"-->
                       <#--data-options="valueField:'id',textField:'jc'" value=""/>-->
                    <input type="hidden" name="sksh.sbbm.id" class=" input-text" value="${(sksh.sbbm.id)!}"
                            >
                    <input type="text"  class=" input-text" value="${(sksh.sbbm.jc)!}"
                           readonly="readonly" >
            </td>
            <th>申&nbsp;报&nbsp;&nbsp;人：</th>
            <td>
                <#--<input type="hidden" id="sksh_sbr"-->
                       <#--value="<#if sksh??>${(sksh.sbr.id)!}<#else>${(skyg.id)!}</#if>"/>-->
                <#--<input id="sksh_sbr_id" name="sksh.sbr.id" type="text" class="easyui-combobox input-text"-->
                       <#--data-options="valueField:'id',textField:'xm'" value=""/>-->
                <input type="hidden" name="sksh.sbr.id" class=" input-text" value="${(sksh.sbr.id)!}"
                        >
                <input type="text"  class=" input-text" value="${(sksh.sbr.xm)!}"
                       readonly="readonly" >
            </td>
        </tr>
        <tr>
            <th>备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注：</th>
            <td >
                <textarea style="width:468px;" rows="3" class="textarea" name="sksh.bz">${(sksh.bz)!}</textarea>
            </td>
        </tr>
    </table>
</form>

<script type="text/javascript" src="${base}/scripts/sfgl/sksh_content.js"></script>

